home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14287 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: castle.nando.net!news
  2. From: actuary@nando.net@castle.nando.net (Bill McCarthy)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Recursion
  5. Date: Fri, 12 Apr 1996 20:12:10 -0400
  6. Organization: Not so good, but I'm working on it ;-)
  7. Message-ID: <aFvbxUKSAuje089yn@castle.nando.net>
  8. References: <31624BC2.70D2@sooner.net> <4k0nlv$hn6@linet06.li.net>
  9.  <4kmm8f$ibd@sun001.spd.dsccc.com>
  10. NNTP-Posting-Host: grail2213.nando.net
  11.  
  12. In article <4kmm8f$ibd@sun001.spd.dsccc.com>,
  13. jmccarty@sun1307.spd.dsccc.com (Mike McCarty) put down for all to see:
  14.  
  15. >In article <4k0nlv$hn6@linet06.li.net>,
  16. >Jeremy Markman <jeremy@newshost.li.net> wrote:
  17. >
  18. >[stuff cut]
  19. >
  20. >)    value += string[0] - '0';
  21. >
  22. >Why is it that everyone who starts writing these conversion routines
  23. >assume two things:
  24. >
  25. >    ASCII character set
  26. >    overflow doesn't matter
  27. >
  28. >Hum?
  29.  
  30. Huh?
  31.  
  32. What's the problem, Mike?  In 5.2.1 it states that "the value of each
  33. character after 0 in the above list of decimal digits shall be one
  34. greater than the value of the previous."  This MUST be true for both
  35. the source and execution character sets.
  36.  
  37. Bill
  38.